class Program { static void Main(string[] args) { aa a = new aa(); a.ff = 19; } } public class aa { int f1; public int ff { set { System.Console.WriteLine("in set " + value); f1 = value; } } }what is the accurate solution of its?
problem in get and set the data field
2735
29-Jan-2011
we write this code but give the exception
Anonymous User
20-May-2011Hi..
Are you sure that these set of codes give exception becuse I had tested it and it successfully execute.